/** \file
* Declaration of the Twitter user class.
* This file is part of Chorus, available at
* http://code.google.com/p/chorus-twitter/ . This file and all associated files
* and derivative works are bound by the terms of the LGPL 3.0 license,
* available at http://www.gnu.org/licenses/lgpl-3.0-standalone.html .
* \par Subversion URL:
* \$URL: http://chorus-twitter.googlecode.com/svn/branches/cpp/src/twitter/TwitterUser.hpp $
* \version \$Rev: 152 $
* \date    \$Date: 2010-04-06 07:35:13 +0000 (Tue, 06 Apr 2010) $
*/

#pragma once

#include "xml/XmlElement.hpp"

/// The Twitter user class.
class TwitterUser : public XmlElement
{
public:
	/// The constructor.
	TwitterUser();
	/// The destructor.
	virtual ~TwitterUser();

private:
	/// The full name of the user.
	TypedXmlProperty<std::string> prop_name;
	/// The screen name of the user.
	TypedXmlProperty<std::string> prop_screenname;
	/// The user's location.
	TypedXmlProperty<std::string> prop_location;
	/// The user's biography.
	TypedXmlProperty<std::string> prop_description;
	/// A URL to the user's portrait image.
	TypedXmlProperty<std::string> prop_imageurl;
	/// A URL to the user's home page.
	TypedXmlProperty<std::string> prop_url;
	/// Whether the user's profile is protected.
	TypedXmlProperty<bool> prop_protected;
	/// The number of people that follow this user.
	TypedXmlProperty<unsigned> prop_followers;
};
